﻿<phoneNavigation:PhoneApplicationPage 
    x:Class="DeepEarth.WP7.MainPage" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:phoneNavigation="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Navigation" 
    xmlns:de="clr-namespace:DeepEarth.Client.MapControl;assembly=DeepEarth.Client.MapControl"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800" 
    FontFamily="{StaticResource PhoneFontFamilyNormal}" 
    FontSize="{StaticResource PhoneFontSizeNormal}" 
    Foreground="{StaticResource PhoneForegroundBrush}">

    <Grid x:Name="LayoutRoot" Background="{StaticResource PhoneBackgroundBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <!--TitleGrid is the name of the application and page title-->
        <Grid x:Name="HeaderGrid" Grid.Row="0">
            <TextBlock Text="DE WP7" x:Name="textBlockPageTitle" Style="{StaticResource PhoneTextPageTitle1Style}" />
            <!--<TextBlock Text="page title" x:Name="textBlockListTitle" Style="{StaticResource PhoneTextPageTitle2Style}"/>-->
        </Grid>

        <!--ContentGrid is empty. Place new content here-->
        <Grid x:Name="ContentGrid" Grid.Row="1">
            <de:Map x:Name="MyMap" />
        </Grid>

        <!--ContentGrid is empty. Place new content here-->
        <Grid x:Name="FooterGrid" Grid.Row="2">

        </Grid>
    </Grid>

</phoneNavigation:PhoneApplicationPage>